<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>用户中心</title>
	<link rel="stylesheet" type="text/css" href="/news/css/reset.css">
    <link rel="stylesheet" type="text/css" href="/news/css/jquery.pagination.css">
    <link rel="stylesheet" type="text/css" href="/news/css/main.css">
    <script type="text/javascript" src="/news/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" src="/news/js/jquery.pagination.min.js"></script>
    <script type="text/javascript" src="/news/js/user_follow.js"></script>
</head>
<body class="inframe_body">
        <h3 class="common_title">我的关注</h3>
        <ul class="card_list_con">
            {{each followsList}}
            <li class="author_card card_list">
                <a href="#" target="_blank" class="author_pic"><img src="{{$value.authorInfo.avatar_url}}" alt="author_pic"></a>
                <a href="#" target="_blank" class="author_name">{{$value.authorInfo.nick_name}}</a>
                <div class="author_resume">{{$value.authorInfo.signature}}</div>
                <div class="writings"><span>总篇数</span><b>{{$value.authorWords}}</b></div>
                <div class="follows"><span>粉丝</span><b>{{$value.authorFans}}</b></div>
                <a href="javascript:;" class="focus fr" style="display:none">关注</a>
                <a href="javascript:;" class="focused fr" style="display:block" data-userid="{{$value.authorInfo.id}}"><span class="out">已关注</span><span class="over">取消关注</span></a>
            </li>
            {{/each}}
            <!-- <li class="author_card card_list">
                <a href="#" target="_blank" class="author_pic"><img src="/news/images/worm.jpg" alt="author_pic"></a>
                <a href="#" target="_blank" class="author_name">张大山</a>
                <div class="author_resume">张大山的简介,张大山</div>
                <div class="writings"><span>总篇数</span><b>23</b></div>
                <div class="follows"><span>粉丝</span><b>36</b></div>
                <a href="javascript:;" class="focus fr" style="display: {{isFollow?'none':'block'}}">关注</a>
                <a href="javascript:;" class="focused fr" style="display: {{isFollow?'block':'none'}}"><span class="out">已关注</span><span class="over">取消关注</span></a>
            </li>
            <li class="author_card card_list">
                <a href="#" target="_blank" class="author_pic"><img src="/news/images/worm.jpg" alt="author_pic"></a>
                <a href="#" target="_blank" class="author_name">张大山</a>
                <div class="author_resume">张大山的简介,张大山</div>
                <div class="writings"><span>总篇数</span><b>23</b></div>
                <div class="follows"><span>粉丝</span><b>36</b></div>
                <a href="javascript:;" class="focus fr" style="display: {{isFollow?'none':'block'}}">关注</a>
                <a href="javascript:;" class="focused fr" style="display: {{isFollow?'block':'none'}}"><span class="out">已关注</span><span class="over">取消关注</span></a>
            </li>
            <li class="author_card card_list">
                <a href="#" target="_blank" class="author_pic"><img src="/news/images/worm.jpg" alt="author_pic"></a>
                <a href="#" target="_blank" class="author_name">张大山</a>
                <div class="author_resume">张大山的简介,张大山</div>
                <div class="writings"><span>总篇数</span><b>23</b></div>
                <div class="follows"><span>粉丝</span><b>36</b></div>
                <a href="javascript:;" class="focus fr" style="display: {{isFollow?'none':'block'}}">关注</a>
                <a href="javascript:;" class="focused fr" style="display: {{isFollow?'block':'none'}}"><span class="out">已关注</span><span class="over">取消关注</span></a>
            </li> -->
        </ul>
        
        
        <div style="display: none;" class="currentPage">{{currentPage}}</div>
        <div style="display: none;" class="totalPage">{{totalPage}}</div>
        <div id="pagination" class="page"></div>
        <script>
            $(function() {
                $("#pagination").pagination({
                    currentPage: Number($(".currentPage").html()),
                    totalPage: Number($(".totalPage").html()),
                    callback: function(current) {
                        // alert('ok!'+current);
                        location.href="/news/followed_user?p="+current
                    }
                });
            });
        </script>
</body>
</html>